home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / parad / feb95 / ml_fig09.gif < prev    next >
Graphics Interchange Format  |  1996-07-10  |  10KB  |  586x335  |  4-bit (6 colors)
Labels: text | screenshot | display | font | number | software
OCR: DEMO.FSL :: Red_Bar :: changeValue* : To act on the changing value of the scrollbar as the user scrolls the thumb by dragging it or clicking on bar or arrows, IN .*** insert your own code here. The value returned by the scroll bar is stored in the variable ININ IN scrollValue, so have your code use scrollValue, as in the example below method changeValue( ) var myRed, myBlue, myGreen SmallInt endVar message("Scroll value: "+string(ScrollValue)) getRGB ( CUTE_BOX.color , myRed, myGreen, myBlue) myRed = smallInt (scrollValue) CUTE_BOX.color = rgb(myRed, myGreen, myBlue) endmethod Edit Line: 16 Col: 10